"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Config = void 0;
class Config {
    static getRedisUrl() {
        if (this.environment == this.EnvironmentType.Test) {
            // return "212.64.108.20"
            // return "192.168.0.73"
            return "127.0.0.1";
        }
        else {
            return "10.0.0.8";
        }
    }
    static getRedisPort() {
        if (this.environment == this.EnvironmentType.Test) {
            return 6666;
        }
        else {
            return 6666;
        }
    }
    static getRedisPass() {
        if (this.environment == this.EnvironmentType.Test) {
            return "jhao666";
        }
        else {
            return "jhao666";
        }
    }
}
exports.Config = Config;
Config.WebPortList = [
    // 9600, 9601, 9602, 9603, 9604, 9605
    9606
];
Config.Login_Server_Port = 9527;
Config.EnvironmentType = {
    Test: 1,
    Online: 2,
};
Config.environment = Config.EnvironmentType.Test;
Config.ServerType_List = {
    WebServer: "[WebServer]",
    LoginServer: "[LoginServer]",
    GameServer: "[GameServer]",
    MachineServer: "[MachineServer]",
};
